<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>添加商家地区</title>
<!--{ include file="header.html" }-->
<script language="javascript">
function chkAddForm(){
	var city = $('#SellerCityID').val();
	var area_name = $('#SellerAreaNameCN').val();
	if(city == 0 || !area_name){
		alert('请完整资料！');
		return false;
	}
}
</script>
</head>

<body>
<div align="right"><input type="button" name="addnewseller" value="地区列表" onclick="javascript:window.location.href='./index.php?module=seller&act=area';" /></div><br/>
<form name="form_seller_cbd_add" method="post" action="./index.php?module=seller&act=area" enctype="multipart/form-data" onSubmit="return chkAddForm();">
<table width="100%"  border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#0066FF">
  <tr bgcolor="#96d6f8">
    <td height="20" colspan="2">&nbsp;添加商家地区</td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td width="30%" height="20" align="right" bgcolor="#FFFFFF">所属城市：</td>
    <td>
	<select name="SellerCityID" id="SellerCityID">
	<option value="0">--请选择城市--</option>
	<!--{foreach name=cities from=$cities item=city}-->
	<option value="<!--{$city.cid}-->" <!--{if $city.cid == $area.SellerCityID}--> selected <!--{/if}--> ><!--{$city.cname}--></option>
	<!--{/foreach}-->
	</select>
	</td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td width="30%" height="20" align="right" bgcolor="#FFFFFF">地区名：</td>
    <td><input name="SellerAreaNameCN" type="text" id="SellerAreaNameCN" value="<!--{ $area.SellerAreaNameCN }-->"></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td height="20" bgcolor="#FFFFFF">&nbsp;</td>
    <td><input type="submit" name="Submit" value="提交">
      <input type="reset" name="Submit" value="重置">
      <input type="hidden" name="step" value="do_add">
      </td>
  </tr>

</table>
</form>
</body>
</html>